#include<bits/stdc++.h>
using namespace std;
const int N=1e5+3;
int a[N];
int n,r,maxn,maxm;
int main(){
    freopen("duel.in","r",stdin);
    freopen("duel.out","w",stdout);
    memset(a,0,sizeof(0));
    cin>>n>>r;
    a[r]++;
    maxn=r;
    for(int i=2;i<=n;i++){
        scanf("%d",&r);
        a[r]++;
        maxn=max(maxn,r);
    }
    maxm=a[1];
    for(int i=2;i<=maxn;i++)if(a[i]!=0)maxm=max(maxm,a[i]);
    cout<<maxm;
    return 0;
}
